-- GENERATED SPELL FOR [Ziggurat Defender] --


function spell0_26202(pUnit, Event) --@Thrash Kick,n/a--
pUnit:FullCastSpellOnTarget(50306,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_26202', 584, 1)
end

function Sorts_26202(pUnit, Event)
local choix_sorts_26202 = math.random(0, 0)
if choix_sorts_26202 == 0 then
pUnit:RegisterEvent('spell0_26202', 1, 1)
end
end

function mob26202_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_26202', math.random(1500, 3000), 1)
end

function mob26202_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob26202_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob26202_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(26202, 1, 'mob26202_Action')
RegisterUnitEvent(26202, 2, 'mob26202_Leave')
RegisterUnitEvent(26202, 3, 'mob26202_Kill')
RegisterUnitEvent(26202, 4, 'mob26202_Die')
